package com.feemanage.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.feemanage.domain.BizCwIncome;
import com.feemanage.domain.vo.BizCwIncomeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface cWIncomeMapper extends BaseMapper<BizCwIncome> {

    BizCwIncomeVo selectListOne(@Param(Constants.WRAPPER) Wrapper<BizCwIncome> queryWrapper);
    IPage<BizCwIncomeVo> selectListPage(@Param("page") Page<BizCwIncomeVo> page, @Param(Constants.WRAPPER) Wrapper<BizCwIncome> queryWrapper);

    List<BizCwIncomeVo> selectListPage(@Param(Constants.WRAPPER) Wrapper<BizCwIncome> queryWrapper);

}
